Converting Video Files to Flash Movies in RoboDemo
Tommy Simmons
With the increasing use of rich media content on the web, tools that can handle conversions between multimedia formats are important to have and to know how to use. RoboDemo is one such tool—optimized for converting raster and vector images, animated GIFs, and video files to SWF format movies. The advantage to using RoboDemo is that you can combine those elements in any manner and add other elements, such as sound files, captions, click boxes, text entry boxes, and other objects, to create a truly interactive Flash movie. If you are considering trying out RoboDemo, or have already tried some basic RoboDemo techniques, this article will give you some tips and tricks for incorporating video files into RoboDemo Flash movies.
Requirements
To take advantage of the techniques illustrated in this article, you will need:
Macromedia RoboDemo (version 4 or later)
Macromedia Flash MX or MX 2004
A third-party video format converter such as QuickTime Pro for Windows and AVI editing tool such as VirtualDub (freeware).
Download the sample files:
samples.zip (2,508 KB)
To get the most from this article, you should have a basic working knowledge of RoboDemo and the most common full-motion video file formats, AVI and MPEG, as well as a basic knowledge of how Flash movies work.
Why Use Video in RoboDemo?
The main reason for using video in any project would be to add an element of full-motion "real life" to what would otherwise be a series of screen captures or computer-generated animations. RoboDemo provides multiple ways to add video to a RoboDemo Flash movie. You can:
- Use RoboDemo for a direct AVI-to-Flash conversion
- Modify an AVI video clip by importing an AVI as a project, then adding elements such as captions, images, clickboxes, sprites, and audio to the converted frames before generating the Flash movie
- Convert other video formats to AVI format using a third-party tool, then import the AVI into RoboDemo for further conversion
- Include a full-motion video recording of a selected screen area in a series of screen captures for a RoboDemo movie project Insert AVI files as animations in selected RoboDemo movie frames
Types of Video Files You Can Use
RoboDemo directly converts only AVI files into the SWF format. However, you can take other video file formats and use them in RoboDemo projects. In general, if you have a video file in a format that can be converted into an AVI, you can incorporate it in a RoboDemo movie. For the conversion of the file from one video format into another, you can use a variety of other tools. For the examples in this article, I used Macromedia Flash MX and Apple's QuickTime Pro for Windows. For editing the files for content and length, I used QuickTime Pro and VirtualDub, a freeware AVI editing tool.
Getting Files Ready for Use in RoboDemo
You can obtain AVI and other video format files from a variety of sources, including movies you have shot with a video camera, CD-based collections of video files, and websites offering collections of video clips for downloading. AVI files are easy, since you can directly import them into RoboDemo as a new movie or as an animation in a RoboDemo movie frame. When an AVI file that is either too long or includes unnecessary content, you can trim it to size using an AVI editor such as the freeware VirtualDub application.
Video clips that are in MOV, MPEG, ASF, WMV, or other popular video formats can be converted to the AVI format using a conversion tool such as QuickTime Pro for Windows: Simply open the file in QuickTime and select File > Export to convert the file.
Finally, Flash MX or later will convert various video formats to the AVI format: Import the video clip by choosing File > Import and then select File > Export Movie. Caution: in most situations, converting a video clip in a non-AVI format to the AVI format will yield an AVI file of considerable size. With practice, you can learn how to control various settings and "crop" unnecessary movie frames until you get a file of acceptable size.
Using RoboDemo for a Direct AVI-to-Flash Conversion
When you are satisfied with your AVI file, you can incorporate it into a RoboDemo movie project. The steps are quite simple for directly converting an AVI file into a Flash movie using RoboDemo (note: some of the images shown below have been cropped for display on this web page):
-
With RoboDemo in Project view (Project tab highlighted), double-click the Import Movie icon under Task Launch (see Figure 1).

Figure 1: Project view with the Import Movie icon.
-
The Import Project dialog box will appear (see Figure 2). Browse to the AVI file you want to import, and then click the Next button.

Figure 2: The Import Project dialog box.
-
You will notice that the Import Project dialog box lists AVI software tutorials. While it is true that the AVI import engine in RoboDemo is optimized for conversion of AVI files that have been produced with video capture applications, it does import any AVI file, including full-motion video files. When you try to import such a file, the next dialog box you see will be a message letting you know that the RoboDemo movie may not display correctly, because the AVI file contains a full-motion animation,. Since you are not using RoboDemo to produce a Flash file from an AVI file that is identical in every respect to the original AVI file, just click the Yes button and let the import process proceed. You will see three more different dialogs indicating the progress of the import. The first dialog box lets you know that the engine is extracting thumbnail images from the AVI movie. You then get a filmstrip-style display of all the thumbnail images (see Figure 3), and at this point you can select which ones to delete and which ones to include in the rest of the import process. Don't worry if the thumbnails appear "pixelated"—they will come out just fine in the resulting Flash movie.

Figure 3: The Slide Preview dialog box.
-
The next dialog you see indicates the progress of the conversion (see Figure 4). In this example, you can see that the frame rate of the original movie is 15 fps. The default frame rate for RoboDemo movies is 20 fps. This indicates that the resulting Flash movie will appear to move at a different rate than the original AVI.
Tip: For a more faithful conversion of full-motion video files, convert the file with Flash MX or later, and then import the SWF file into the RoboDemo project as an animation on a slide.

Figure 4: The Analyzing AVI Movie dialog box.
-
When the conversion process is finished, RoboDemo informs you that it is updating the thumbnail images (see Figure 5).

Figure 5: The Updating Thumbnails dialog box.
-
Finally, you will see your new project frames come up in Frames view (see Figure 5), ready for inspection as to properties (right-click on a frame), copying, pasting, and deleting. To edit an individual frame, select it and click the Edit tab, or else double-click the frame's thumbnail image.

Figure 6: The Frame and Edit tabs for editing of frames.
At this point, you can begin editing individual frames, deleting some, copying others, and reshuffling them. Editing the frames is the process by which you can add explanatory and interactive content to the movie. Captions and highlight boxes can provide text and visual cues to explain and highlight visual actions. Smaller images inserted over portions of the movie frames can add interest to the action. You can even add audio files to frames, including your own narration (try doing that with the original video clip!). Click boxes on selected frames can provide hotspots for users to click to trigger eevents, such as returning to previous frames, jumping ahead to selected frames, causing information to appear in JavaScript alert boxes or new browser windows, or even loading other movies.
Recording Full-Motion Video in RoboDemo
Adding full-motion video (FMV) to RoboDemo movies is a very simple process, as are most things with RoboDemo! The first thing to do is set your preferences for FMV recording. You can do that with the Record Movie dialog box that appears when you start a new movie—simply specify the hot keys under Insert Full Motion Clip and click the Options button in the dialog box (see Figure 7).

Figure 7: Selecting hot keys in the Record Movie dialog box.
Clicking the Options button opens the Recording Options dialog box. Click the Full Motion Recording tab to set your FMV preferences (see Figure 8). (You can also access the Recording Options dialog box by selecting Recording Options from the Options menu in the RoboDemo window.)

Figure 8: The Recording Options dialog box.
If you select the check box Record at a higher capture rate for smoother movie, you will see a lot more fluid motion in the resulting FMV capture. Taste and bandwidth vary, but even as a dial-up access user, I appreciate smooth video and animations and am willing to wait if necessary.
After you have set your preferences, you are ready to start. You can either make the entire project one FMV "frame", in which case you will end up with a very smooth Flash movie (the frames of which cannot be edited in RoboDemo), or you can record the RoboDemo movie as a series of screen, region, or application window captures, and in the middle of that process, invoke the FMV recording engine to insert a full-motion segment into the project frames.
Here is the key: To start the FMV recording, press the FMV hot key that you specified in the Record Movie dialog box (by default, that key is F9). Carry out your actions on-screen, and then, when you are ready to end the FMV capture and return to ordinary screen capturing, press the F10 or any other key that you might have chosen. Pressing the End key ends the recording process. At this point, your frames will appear in the Frame view, and you will see that the FMV segment is represented by a special icon signifying that it is an animation frame (see Figure 9).

Figure 9: The FMV Frame view.
If you click the Edit tab, you will see a slightly different view (see Figure 10).

Figure 10: The FMV Edit view.
The resulting FMV in the Flash movie output is strikingly sharp and clear, and the motion is very smooth when compared to the result you get when converting AVI files using the Import Movie wizard. In fact, I have found that doing a full-motion video recording from RoboDemo of an AVI file playing in a QuickTime or Windows Media Player window results in a better, more fluid movie than one can get through the Movie Import process.
Inserting AVI Files as Animations in RoboDemo Frames
A third way to include video files in RoboDemo movies for conversion into the Flash format is to insert an AVI file directly into an existing RoboDemo project frame as an animation, or else insert the AVI file as an animation frame in its own right. As you might expect, RoboDemo makes this process very easy!
With your AVI files all nice and ready for use, open a RoboDemo project in Edit view (click the Edit tab) and then follow these steps to insert your files:
- Bring up the frame into which you want to insert the animation. Select Insert > Animation to summon the Open dialog box, select your AVI file, and click Open to start the conversion process (see Figure 11).

Figure 11: A sure sign that magic is about to happen.
- After conversion finishes, you will then see the New Animation window
(see Figure 12), in which you can specify the properties for the inserted
AVI file (soon to be a Flash animation in your RoboDemo Flash movie).

Figure 12: The New Animation window.
The radio buttons under Play Options are important. Select Continue movie while playing animation if you want to continue playing the movie while the animation plays, even as the background movie frames change. This can be great if you have an animation you would like to have available for multiple frames of the movie.
Tip: Use this option also if you want to insert an invisible SWF file with ActionScript to provide special functionality for the movie. (Credit for this tip goes to Julian McGirr, Team Macromedia member for RoboDemo!)
Select Pause frame while playing animation if you want to get an end user to watch the entire inserted animation before the next frame appears.
Select Stop playing animation when frame ends to stop the animation when the background movie progresses to the next frame. You can experiment with these options to see what works best for your overall movie.
-
In Edit view, the frame with the inserted animation is shown with a little box displaying the first frame of the inserted animation. Moving your mouse pointer over the animation box brings up a tooltip that shows the basic properties of the animation (see Figure 13). You can access the full properties by right-clicking on the animation box and selecting Properties.

Figure 13: Basic information about the animation.
The resulting animation is fairly smooth, not quite as smooth as using RoboDemo's full-motion video capture feature, but usually smoother than direct conversion of the AVI file using the Import Movie procedure outlined above.
Conclusion
While the SWF movie produced directly in RoboDemo with the Import Movie process is not identical to the full-motion AVI original, the whole idea of such a conversion is to add movie elements for explanatory and interactivity purposes that are absent from a "plain" video file. The full-motion video process results in much smoother animation, but at the price of editability. A good compromise is to insert AVI and SWF files as animations in selected frames, or as "frames" in their own right. AVIs converted as animations within existing frames turn out almost as smooth as FMV captures. This versatility is good news for creative people who love to mix and match formats to achieve a "multimedia" experience in the truest sense of the word. The only limit is your imagination, and RoboDemo is a great tool for letting your imagination run free!